/*


*/
(function(){
	Element.prototype.$get=$get;
}())

function $get(target){
	var that=this;
	if(this==window){
		that=document;
	}
	switch(target[0]){
		case '#':
		return that.getElementById(target.substr(1));
		case '.':
		return that.getElementsByClassName(target.substr(1));
		default:
		return that.getElementsByTagName(target);
	}
}
